// console.log(typeof null); object
// console.log(typeof function() {}); // fn
function Person(firstName, lastName) {
    this.firstName = firstName;
    this.lastName = lastName;
  }
  
  const member = new Person('Lydia', 'Hallie');
  Person.getFullName = function() {
    return `${this.firstName} ${this.lastName}`;
  };

  member.getFullName = function() {
      console.log('hello');
  }
  
//   console.log(member.getFullName());
console.log(member);
console.log(Person.prototype);